package com.heartech.prediciton_wx.entity.message;

import com.heartech.prediciton_wx.entity.message.BaseMessage;
import lombok.Data;

@Data
public class VoiceMessage extends BaseMessage {
    /**
     *  语音消息媒体id，可以调用获取临时素材+接口拉取数据。
     */
    private String MediaId;

    /**
     *  语音格式,如amr，speex等
     */
    private String Format;

    public String toString(){
        return super.toString() + "[VoiceMessage]：" + "  MediaId：" + this.MediaId
                + "  Format：" + this.Format;
    }
}

